#nullable enable
using System;

namespace REP.Domain.Entities
{
    /// <summary>
    /// BOM 与工艺路线的关联（支持一个 BOM 关联多个工艺路线）
    /// </summary>
    public class BomProcessRoute : BaseEntity
    {
        /// <summary>BOM Id</summary>
        public Guid? BomId { get; set; }
        /// <summary>工艺路线 Id</summary>
        public Guid? RouteId { get; set; }
        /// <summary>工艺路线编码（冗余存储，便于展示）</summary>
        public string? RouteCode { get; set; }
        /// <summary>工艺路线名称（冗余存储，便于展示）</summary>
        public string? RouteName { get; set; }
        /// <summary>选择时间</summary>
        public System.DateTime? SelectedAt { get; set; }
        /// <summary>排序</summary>
        public int? Sort { get; set; }
        /// <summary>负责人</summary>
        public string? Owner { get; set; }
        /// <summary>部门</summary>
        public string? Department { get; set; }
        /// <summary>单位工时量（小时）</summary>
        public decimal? UnitWorkHours { get; set; }
        /// <summary>备注</summary>
        public string? Remark { get; set; }
    }
}
